package ru.spbu.math.seabattle.client.messages;

import java.io.Serializable;

import ru.spbu.math.seabattle.entity.PlayerID;

public class OnGameRequestRefusedMessage implements Serializable {

	private static final long serialVersionUID = 1L;

	private final PlayerID opponentID;
	
	public OnGameRequestRefusedMessage(PlayerID opponentID) {
	
		this.opponentID = opponentID;
	}
	
	public PlayerID getOpponentId() {
		return opponentID;
	}
}
